﻿using YNTK.Common.Enum;
using YNTK.Common.Filter;
using YNTK.Dependency;

namespace YNTK.FileRecord.Entitys
{
    /// <summary>
    /// 查询工作记录请求模型
    /// </summary>
    [SuppressSniffer]
    public class QueryWorkRecordFilterRequestModel: PageBaseRequestModel
    {
        /// <summary>
        /// 组织id
        /// </summary>
        public string? organizeId { get; set; } = string.Empty;

        /// <summary>
        /// 机构id
        /// </summary>
        public string? mechanismId { get; set; } = string.Empty;

        /// <summary>
        /// 文件清单分类id
        /// </summary>
        public string? classifyId { get; set; } = string.Empty;

        /// <summary>
        /// 工作项/事项id
        /// </summary>
        public string? workItemId { get; set; } = string.Empty;

        /// <summary>
        /// 共享范围(null.全部 0.全组织 1.特定机构 2.特定角色 3.特定用户 4.仅自己可见)
        /// </summary>
        public SharedScopeEnum? sharedScope { get; set; } = null;

        /// <summary>
        /// 创建时间-起
        /// </summary>
        public DateTime? startTime { get; set; } = null;

        /// <summary>
        /// 创建时间-止
        /// </summary>
        public DateTime? endTime { get; set; } = null;

        /// <summary>
        /// 启用/禁用,1.启用 0.禁用 2.全部
        /// </summary>
        public int? enabledMark { get; set; } = null;

        /// <summary>
        /// 模糊查询,标题
        /// </summary>
        /// <example></example>
        public string? keyword { get; set; } = string.Empty;
    }
}
